package com.zyguo.sdk.crypt;


public interface ICrypt {
	/**
	 * 加密
	 * @param data
	 * @return 密文
	 * @throws Exception 
	 */
	public String encrypt(String data, String key ) throws Exception;

	/**
	 * 解密
	 * @param ciphertext_base64
	 * @return 明文
	 * @throws Exception 
	 */
	public String decrypt(String data, String key ) throws Exception;
}
